package com.yjht.online.generate;

import com.yjht.online.arg.ArgParam;
import com.yjht.online.generate.impl.org.OrgGenerate;
import com.yjht.online.generate.impl.person.PersonGenerate;
import com.yjht.online.generate.impl.sysparam.SysParamGenerate;

public class GenerateBootstrap {

    public static void generate(ArgParam argParam){
        GenerateExecute generateExecute = new GenerateExecute();
        generateExecute
                .register(new OrgGenerate());

        generateExecute
                .register(new SysParamGenerate());

        generateExecute
                .register(new PersonGenerate());

        generateExecute.execute(argParam);

    }
}
